#!/usr/bin/env lua

package.path = arg[0]:sub(0, -arg[0]:match("([^/\\]*)$"):len() - 1) .. "?.lua;" .. package.path
local test = require("test")
local a = require("liba")
test.dir(a.mf)
test.dir(getmetatable(a.mf))

a.mf.gauss(0, 0, 0)
a.mf.gauss2(0, 0, 0, 0, 0)
a.mf.gbell(0, 0, 0, 0)
a.mf.sig(0, 0, 0)
a.mf.dsig(0, 0, 0, 0, 0)
a.mf.psig(0, 0, 0, 0, 0)
a.mf.trap(0, 0, 0, 0, 0)
a.mf.tri(0, 0, 0, 0)
a.mf.lins(0, 0, 0)
a.mf.linz(0, 0, 0)
a.mf.s(0, 0, 0)
a.mf.z(0, 0, 0)
a.mf.pi(0, 0, 0, 0, 0)

a.mf.mf(a.mf.GAUSS, 0, 0, 0)
a.mf.mf(a.mf.GAUSS2, 0, 0, 0, 0, 0)
a.mf.mf(a.mf.GBELL, 0, 0, 0, 0)
a.mf.mf(a.mf.SIG, 0, 0, 0)
a.mf.mf(a.mf.DSIG, 0, 0, 0, 0, 0)
a.mf.mf(a.mf.PSIG, 0, 0, 0, 0, 0)
a.mf.mf(a.mf.TRAP, 0, 0, 0, 0, 0)
a.mf.mf(a.mf.TRI, 0, 0, 0, 0)
a.mf.mf(a.mf.LINS, 0, 0, 0)
a.mf.mf(a.mf.LINZ, 0, 0, 0)
a.mf.mf(a.mf.S, 0, 0, 0)
a.mf.mf(a.mf.Z, 0, 0, 0)
a.mf.mf(a.mf.PI, 0, 0, 0, 0, 0)
